package oop2.oop3;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class DogTest {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int[]ar={1,3,46,4,10};
        Arrays.sort(ar);
        //static int f=0;
        Dog.printLegs();
        //Dog.color="ff";
        System.out.println("狗腿子数目："+Dog.numOfLegs);
        Dog d=new Dog();
        d.name="贾斯汀";
        d.color="灰";
        Dog.numOfLegs=3;
        d.show();

        Dog d2=new Dog();
        d2.name="大黄";
        d2.color="黄";
        d2.show();
    }
}
